package com.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class CataAjaxVo2 {

    private Long catalog1Id;        //一级父分类ID
    private List<Catalog3> catalog3List;    //三级子分类集合
    private Long id;                //二级分类ID
    private String name;            //二级分类名

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catalog3{
        private Long catalog2Id;        //二级父分类ID
        private Long id;                //三级分类ID
        private String name;            //三级分类名
    }
}
